﻿using System;
using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations.Schema;
using YiSha.Util;

namespace YiSha.Entity.OrganizationManage
{
    /// <summary>
    /// 创 建：admin
    /// 日 期：2020-05-09 22:38
    /// 描 述：Banner实体类
    /// </summary>
    [Table("sys_banner")]
    public class BannerEntity : BaseEntity
    {
        /// <summary>
        /// 标题
        /// </summary>
        /// <returns></returns>
        public string BnTitle { get; set; }
        /// <summary>
        /// 副标题
        /// </summary>
        /// <returns></returns>
        public string BnSubtitle { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string BnImage { get; set; }
        /// <summary>
        /// 链接地址
        /// </summary>
        /// <returns></returns>
        public string BnUrl { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string BnRemark { get; set; }
        /// <summary>
        /// 父地区编码
        /// </summary>
        /// <returns></returns>
        public string BnContent { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        /// <returns></returns>
        [JsonConverter(typeof(DateTimeJsonConverter))]
        public DateTime? BnDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string BnT1 { get; set; }
        /// <summary>
        /// 备用字段
        /// </summary>
        /// <returns></returns>
        public string BnT2 { get; set; }
    }
}
